WPFunnels\Rest\Controllers\TemplateLibraryController C

Total Complexity 103
Dependencies 4
Dependents 1
Total lines 599
Lines of code 360
Logical lines of code 164
Comment lines 149
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
get_funnels()
C
32 29 103
get_step()
B
43 16 48
get_template_type_id()
A
45 13 42
get_funnel()
A
46 8 42
prepare_custom_step()
A
56 9 17
remote_get()
S
55 5 19
get_remote_funnel_api_url()
S
67 3 8
get_remote_funnel_categories_api_url()
S
67 3 8
get_remote_funnel_steps_api_url()
S
67 3 8
get_all_templates_api_url()
S
67 3 8
get_templates()
S
65 3 8
register_routes()
S
55 1 24
update_items_permissions_check()
S
67 2 7
get_items_permissions_check()
S
69 2 6
get_funnels_data()
S
66 2 8
prepare_item_for_response()
S
75 1 4